package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.MesFeedingPlanDTO;
import com.xinsoft.entity.dto.MesFeedingPlanPageParam;
import com.xinsoft.entity.po.MesFeedingPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.MesFeedingPlanVo;
import org.apache.ibatis.annotations.Param;

/**
* @author hsm
* @description 针对表【mes_feeding_plan(投料计划)】的数据库操作Mapper
* @createDate 2023-07-24 15:10:35
* @Entity com.xinsoft.entity.po.MesFeedingPlan
*/
public interface MesFeedingPlanMapper extends BaseMapper<MesFeedingPlan> {

    /**
     * 分页查询
     * @param page
     * @param param
     * @return
     */
    IPage<MesFeedingPlanVo> findListByParam(Page<?> page, @Param("param") MesFeedingPlanPageParam param);


    /**
     * 分页查询
     * @param id
     * @return
     */
    MesFeedingPlanDTO selectInfo(@Param("id") Integer id);


}




